<template>
  <q-page class="column" style="background-color: #f5f6fa">
    <BackHeader :title="title ?? ''" fixed />

    <div class="flex-1" style="height: 20px; overflow: hidden;">
      <iframe :src="url" style="border: none; outline: none; " class="full-width full-height"></iframe>
    </div>
  </q-page>
</template>

<script setup lang="ts">
import { useRoute } from 'vue-router';
const route = useRoute();
const title = decodeURI((route.query.titleWebView ?? '') as string);
const url = route.query.urlWebView ? decodeURIComponent(route.query.urlWebView as string) : '';
</script>
